package com.rzl.expense.expense.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.rzl.expense.expense.mapper.EleVerificationdetailMapper;
import com.rzl.expense.expense.domain.EleVerificationdetail;
import com.rzl.expense.expense.service.IEleVerificationdetailService;

/**
 * 电费核销单明细Service业务层处理
 * 
 * @author expense
 * @date 2024-11-30
 */
@Service
public class EleVerificationdetailServiceImpl implements IEleVerificationdetailService 
{
    @Autowired
    private EleVerificationdetailMapper eleVerificationdetailMapper;

    /**
     * 查询电费核销单明细
     * 
     * @param verificationdetailId 电费核销单明细主键
     * @return 电费核销单明细
     */
    @Override
    public EleVerificationdetail selectEleVerificationdetailByVerificationdetailId(String verificationdetailId)
    {
        return eleVerificationdetailMapper.selectEleVerificationdetailByVerificationdetailId(verificationdetailId);
    }

    /**
     * 查询电费核销单明细列表
     * 
     * @param eleVerificationdetail 电费核销单明细
     * @return 电费核销单明细
     */
    @Override
    public List<EleVerificationdetail> selectEleVerificationdetailList(EleVerificationdetail eleVerificationdetail)
    {
        return eleVerificationdetailMapper.selectEleVerificationdetailList(eleVerificationdetail);
    }

    /**
     * 新增电费核销单明细
     * 
     * @param eleVerificationdetail 电费核销单明细
     * @return 结果
     */
    @Override
    public int insertEleVerificationdetail(EleVerificationdetail eleVerificationdetail)
    {
        return eleVerificationdetailMapper.insertEleVerificationdetail(eleVerificationdetail);
    }

    /**
     * 修改电费核销单明细
     * 
     * @param eleVerificationdetail 电费核销单明细
     * @return 结果
     */
    @Override
    public int updateEleVerificationdetail(EleVerificationdetail eleVerificationdetail)
    {
        return eleVerificationdetailMapper.updateEleVerificationdetail(eleVerificationdetail);
    }

    /**
     * 批量删除电费核销单明细
     * 
     * @param verificationdetailIds 需要删除的电费核销单明细主键
     * @return 结果
     */
    @Override
    public int deleteEleVerificationdetailByVerificationdetailIds(String[] verificationdetailIds)
    {
        return eleVerificationdetailMapper.deleteEleVerificationdetailByVerificationdetailIds(verificationdetailIds);
    }

    /**
     * 删除电费核销单明细信息
     * 
     * @param verificationdetailId 电费核销单明细主键
     * @return 结果
     */
    @Override
    public int deleteEleVerificationdetail()
    {
        return eleVerificationdetailMapper.deleteEleVerificationdetail();
    }




    @Override
    public void batchEleVerificationdetail(List<EleVerificationdetail> list)
    {

         eleVerificationdetailMapper.batchEleVerificationdetail(list);
    }


}
